using System;
using Sinacor.Servico.Bovespa.ResumoFinanceiro.Service.DataContract.Request;
using Sinacor.Servico.Bovespa.ResumoFinanceiro.BusinessEntity;

namespace Sinacor.Servico.Bovespa.ResumoFinanceiro.Service.ServiceImplementation.Translator

{
    public static class TranslateCalcularResumoFinanceiroRequest
    {
		public static BusinessEntity.ResumoFinanceiro 
            ToResumoFinanceiro(DataContract.Request.CalcularResumoFinanceiroRequest from)
        {
            BusinessEntity.ResumoFinanceiro to = new BusinessEntity.ResumoFinanceiro();
            to.CodigoCliente = from.CodigoCliente;
			to.DataMovimento = from.DataMovimento;
			to.IsCorrespondente = from.IsCorrespondente;
            return to;
        }
    }
}

